package com.software.graduationproject.modules.marketers.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.software.graduationproject.commons.select.Select;
import com.software.graduationproject.modules.marketers.entity.Marketers;
import com.software.graduationproject.modules.marketers.object.MarketersCommentVo;
import com.software.graduationproject.modules.marketers.object.MarketersVo;
import org.apache.ibatis.annotations.Mapper;
import com.baomidou.mybatisplus.core.metadata.Page;
import org.apache.ibatis.annotations.Param;


import java.util.List;

/**
 * MarketersMapper
 * ---------------------------------------------------------------------------------------------------------------------
 */
@Mapper
public interface MarketersMapper extends BaseMapper<Marketers> {

    Page<MarketersVo> selectPageVo(@Param("select")Select select);

    List<MarketersVo> selectListVo(@Param("select")Select select);

    List<MarketersVo> searchAllBySelect(@Param("select") Select select);

    MarketersCommentVo selectMarketersComment(Long id);

    String findFoodNameByCartId(Long id);
}
